<?php
require 'Home/Controller/Controller.php ';

require 'Home/Model/IndexModel.php';
class ListController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->model = new IndexModel();
	}
	function index(){
		$id = $_GET['id'];

		$getVideoType = $this->model->getVideoType();
		$getVideoByTid = $this->model->getVideoByid($id);
		$getVideoByHits = $this->model->getVideoByHits();
		$getTypeById = $this->model->getTypeByTid($id);


		include 'Home/View/Index/list.php';
	}
	

}
?>